﻿@model IEnumerable<orienta.Models.ORIDetCompendio>
@{
    Layout = "~/Views/Shared/_LayoutPopUp.cshtml";
    ViewBag.Title = "Index";
    var id = 0;
}

<script src="@Url.Content("~/js/midis.js")" type="text/javascript"></script>
@Html.Hidden("campoLlenar",@Request["campoLlenar"])
@Html.Hidden("campoHidden",@Request["campoHidden"])
<table>
    <tr>
        <th>
            Nro
        </th>
        <th>
            Elegir
        </th>
        <th>
            Descripción
        </th>

    </tr>

@foreach (var item in Model)
{
    id = id + 1;
    <tr>
        <td>
            @id
        </td>
        <td>
            <input type="radio" value="@item.nIdeDetalle" style="cursor:pointer" onclick="javascript:seleccionarCompendio(this,'@item.vNomDetalle')"/>
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.vNomDetalle)
        </td>
    </tr>
}

</table>
